﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedLib.WinFormMVCFramework
{
    /// <summary>
    /// EventArgs that represents a data change
    /// </summary>
    /// <typeparam name="T">Item type</typeparam>
    public class DataChangedEventArgs<T> : EventArgsGeneric<T>
    {
        public T OriginalData { set; get; }
        public DataChangedEventArgs(T originalItem, T item)
            : base(item)
        {
            OriginalData = originalItem;
        }
    }
}
